package com.yunzheng.studyLeaveSystem.modules.admin.show.students.service;


import com.yunzheng.studyLeaveSystem.modules.admin.show.students.entity.leaver;
import com.yunzheng.studyLeaveSystem.modules.admin.show.students.dao.Impl.LeaveDaoImpl;
import com.yunzheng.studyLeaveSystem.modules.admin.show.students.dao.LeaveDao;

import java.util.List;

public class LeaveService {
    public List<leaver> showInformation(String name) throws Exception {
        LeaveDao leaveDao = new LeaveDaoImpl();

        return leaveDao.queryInformation(name);
    }

}
